Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically derive Pod and Zeroable for structs generated by vulkano-shaders #2117

Merged
merged 1 commit into from
Dec 30, 2022

Conversation

Rua
Copy link
Contributor

@Rua Rua commented Dec 28, 2022

Changelog:

### Additions
- Vulkano-shaders: The bytemuck traits `Pod` and `Zeroable` are now automatically derived for generated structs, so there is no need to specify them with `types_meta` anymore.

Fixes #1925.

@AustinJ235 AustinJ235 merged commit 41a3773 into vulkano-rs:master Dec 30, 2022
AustinJ235 added a commit that referenced this pull request Dec 30, 2022
@yshui yshui mentioned this pull request Mar 30, 2023
@Rua Rua deleted the vulkano-shaders-pod branch October 25, 2023 14:25
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
hakolao pushed a commit to hakolao/vulkano that referenced this pull request Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Structs generated by vulkano-shaders can't be used in CpuAccessibleBuffers by default
2 participants